﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Hotel.Model
{ 

    /// <summary>
    /// 房型
    /// </summary>
    public class HouseTypeModel
    {

        [Key]
        public int Id { get; set; }
        /// <summary>
        /// 房型名称
        /// </summary>
        public string? HouseTypeName { get; set; }

        /// <summary>
        /// 售价
        /// </summary>
        public decimal Price { get; set; }

        /// <summary>
        /// 面积
        /// </summary>
        public decimal MianJi { get; set; }

        /// <summary>
        /// 可住人数
        /// </summary>
        public int NumCount { get; set; }

        /// <summary>
        /// 图片
        /// </summary>
        public string? Phone { get; set; }


        /// <summary>
        /// 房型介绍
        /// </summary>
        public string? JieShao { get; set; }

        /// <summary>
        /// 是否加床
        /// </summary>
        public int State { get; set; } = 1;



        /// <summary>
        /// 是否含早餐
        /// </summary>
        public int ZaoCan { get; set; } = 1;


        /// <summary>
        /// 删除
        /// </summary>
        public bool IsDeleted { get; set; } = false;


    }
}
